package com.situ.employee2024.dao;

import com.situ.employee2024.model.Employee;
import com.situ.employee2024.util.PaginateInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 功能：
 *
 * @author 千堆雪
 * @version 1.0.0
 * @since 2024/1/10
 * <p>
 * created by 千堆雪 on 2024/1/10, last modified by 千堆雪 on 2024/1/10
 */
@Mapper
public interface EmployeeDao {
    //查询所有员工列表
    List<Employee> findAll(Employee employee);

    Employee findById(Integer id);

    //批量删除
    int deleteByIds(Integer[] ids);

    //保存员工信息
    int save(Employee employee);

    //修改员工信息
    int update(Employee employee);
}
